package com.dailyye.sex360;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.GridView;

public class ImageGridView extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.image); 
         
        GridView gridview = (GridView) findViewById(R.id.gridview);
        gridview.setAdapter(new ImageAdapter(this));

        gridview.setOnItemClickListener(new OnItemClickListener() {
            public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
                //Toast.makeText(ImageGridView.this, "" + position, Toast.LENGTH_SHORT).show();
                Intent intent;  // Reusable Intent for each tab 
            	intent = new Intent().setClass( ImageGridView.this, ReadView.class);
            	intent.putExtra("content", content[position]);   
            	intent.putExtra("imageid", mThumbIds[position]);   

            	startActivity(intent); 
            
            	  
            }
        });
    }
static final String[] content = new  String[] {
 	"Face to face\n    Position classic and universal, but not for that reason boring, the face to face allows a infinity of variants to make it more attractive and exciting. \n      The mobility of the hands, the proximity of the faces and the comfort of the bodies are the advantages that made it famous. \n     It is not necessary to fear to prove new types of contact during the sex. \n      It is a position that many identify with the love and the romance, the beginnings of a pair, the adolescence... but is worth the trouble to experience it in all the stages of the sexual life and to remove the juice to its advantages.",
 	"The amazon\n     The man relaxes and lies down with the legs slightly opened and flexible towards his chest.\n    The erection the delay to her, that one complies squatting conforming itself to the position adopted by him.\n    The woman 'feels literally' in the penis of her companion.\n     She must do it slowly.\n      Their thighs will impel all the movement that needs this position, where the penetration occurs in sense arrives-down.\n     Only apt for dangerous spirits and opened minds, 'the amazon' is the woman who rides her man of the wildest and primitive way.",
 	"The arc\n      Variant of the 'Face to face', the arc is a position that, through a small variant, modifies the sensations to the end.\n          The woman remains laid down mouth with open the legs and flexible above, supporting her arms behind shoulders.\n          When his companion is ready to penetrate it, he elevates his hips and he settles on the flexible legs of the companion.\n          The pleasure that it receives centers in the deep penetration and the particularitity to feel all surrounded the vaginal and abdominal zone of the skin of the man.\n          The fatigue that experiences when maintaining the position sees compensated with the power of orgasm that can cause ",
 	"The armchair\n      This position allows the position that consists of which it feels comfortably in the space that it forms with his body.\n          With the aid of his hands, the man accommodates to his companion in his erection, controlling both the rate and the intensity of the penetration.\n          The legs of her lean smoothly in shoulders of the man, who has his head catched and surrounded in the thighs of his companion.\n          The man can touch clitoris of her to the time that maintains it of the waist with force.\n          The difficulty that resides in approaching the faces and the bold thing of the proposal, turns to 'the armchair' a different and extremely sensual position.\n   ",      
 	"The deep one\n      This is a position of total penetration, of there its name.\n          With the high and opened legs, it waits to that his companion introduces the penis in his vagina to wear his legs in shoulders of him, who will support his hands to regulate the movement.\n          To many women she can seem to them complicated, uncomfortable or painful the visualization of this position, but she is worth the trouble to prove it because she offers the absolute penetration and a unique genital contact.\n         The difficulty to kiss and the distance of the faces can widely be exciting for both.\n         ",
 	"The fusion\n       For this position, the man feels slightly throwing his body backwards and supporting his hands to the flank of the body.\n          The legs can stretch itself according to the comfort that are arranged and the head can be relaxed.\n          The woman, assuming the active roll of the occasion, passes her legs over her companion and back supports her arms of the body.\n          The previous stimulation must be intense, since during the penetration this position prevents the manual approach and the contact of the mouths.\n          The woman marks the rate or an encounter is agreed to penis-vagina with a movement of both towards the center.\n          Of anyone of the two forms, he is essential that clitoris takes advantage of the impacts with the body him.\n          The glance has a fundamental component and the word can be an incredible weapon to enjoy the fusion completely.\n         ",
 	"The hammock\n      The man is seated (preferredly in a hard surface, not it bed), with the flexed legs and the later part is taken from its knees.\n          This way, it receives the woman who is made penetrate complying in the space that is between the legs of him and her trunk.\n          It presses with the knees the body of his companion, attracts it towards his causing the swing of both while, for example, it kisses the chests to him that are to the height of their face.\n          A unique sensation that remembers the tender one to go and to come from the hammocks of the childhood.\n         ",
 	"The mill vanes\n      Mouth arrives, the woman tends with the opened legs to receive its companion who, in this position, front penetrates it to the legs of her.\n          The difference of sensations is remarkable in this type of penetration: clitoris and the vaginal lips are in the heat of contact with pelvis and the environs of the penis of the companion and the most accessible penetration are through circular movements.\n          The fact of not being able to see itself expensive face gives a special enchantment him to the position.\n          The newness of the caresses surprises pleasingly: the woman can caress the rumps of her companion, to smoothly nail her nails in the later part to the knees, to grasp the testicles of her companion.\n          The man; to absorb the feet of her, to bite its fingers, to approach its hand the genitals of which they are being fused and to take its penis to penetrate it better.\n     ",    
 	"The mirror of pleasing\n      She lies down of backs.\n          She raises his legs and she leaves him maintains them made kneel at the end of his body and supporting the other arm in the floor.\n          The man penetrates, dominates and has the control.\n          The position allows to vary the sense of the penetration and the opening of the legs.\n          The faces cannot approach and the hands little can do in this position, which generates an anxiety extremely exciting: both bodies run together the race to arrive at orgasm and reflect in the other the most varied gestures.\n         ",
 	"The mold\n      With the together and gathered legs, the woman tends of flank and backwards relaxes her head while he penetrates it, or by the vagina or the anus (excellent position for anal sex) the movements must smooth and be coordinated and the slow and deep penetration: both bodies are conformed like two perfect pieces of a puzzle.\n         .\n         .\n          'the mold' is ideal for women who have problems in reaching orgasmo and/or please to cause the friction of clitoris during the sex.\n         ",
 	"The put under one\n       The man lies down comfortably giving his pleasure to the will of his companion.\n          To take advantage of this game masculine submission can be a stimulating total for both: the encounter can begin with caresses and kisses of her to him, that it always remains in the same position, to finish in the deep penetration that allows the position, where she is placed of backs and controls the movements helping itself of the arms.\n          In addition, the man has an easy access to the anus of his companion, who can reduce the speed of the movements to enjoy the anal stimulus or that her even one touches her chests.\n         ",
 	"The screw\n      Nothing else recommendable for a woman with difficulties to arrive at orgasmo that the positions that press clitoris while the vagina is penetrated.\n          She lies down in the edge of the bed and tends her legs flexible to a flank of her body (each woman will know which of both sides is to him more comfortable).\n          This allows to maintain clitoris catched between its better allies to arrive at orgasm: the vaginal lips.\n          The woman can contract and relax all the zone, while he in front of penetrates made kneel her and touching his chests.\n         ",
 	"The surprise\n     This position is ideal for the lovers of the wildest and primitive sex.\n          The man, standing up, takes the woman behind and he penetrates it taking it from the waist.\n          It, relaxes all her body as the gravity until supporting her hands in the floor.\n          The man 'surprises' the woman behind and counts the cadence of the sex.\n          For her, the pleasure is concentrated in the angle of fragmentation of the vagina that, to the limited being, causes a sensation of very placentera narrowness for many women.\n          For him, the most powerful sensation expands from glande, that enters and leaves the vaginal opening at will and caresses clitoris in the most audacious exits.\n          In addition, the field of view of the man includes the anus, the buttocks and the highly erogenic back, zones for many.\n          The domination that it exerts and the total relaxation of her can favor the playing of the man with the anus of her: to introduce a finger during the sex can enormously be exciting.\n     ",    
 	"The total hug\n      The pair is standing, undresses and faced.\n          It climbs to her companion up shoulders and embraces her body with the legs.\n          The total hug is part of a passional and creative sex, where the corporal contact is very complete.\n          The rate of the sex can be of two ways: of above downwards or back for ahead, depending on the intensity of pleasure that both experiment with each option.\n         ",
 	"The trapeze\n      The man above feels like with the open legs and their companion (already penetrated) of him.\n          Taking it from the wrists, it is relaxed backwards until falling completely: she must be super relaxed and given to the force of his companion who attracts his body with his arms causing the necessary attack for the sex.\n          Ideal to change the routine and to prove new emotions.\n         .\n         .\n         ",
 	"The wheelbarrow\n      On the brink of madness the bed and with the supported forearms, the woman is arranged 'to be raised' of the legs by the man, who of foot behind her, penetrates maintaining it it of the thighs.\n          The stimulus and the pleasure are concentrated in the genitals of both, but he is the man who takes to the rate attracting the body of her towards his.\n          The variety of movements and sensations that allows the position is amazing: circular, ascending and descendent, with the closed or opened legs.\n         ",
 	"Variant facing face\n      This classic position also is made with the woman in the dominant position, which is very exciting for many since it substantially modifies the traditional thing in the 'Face to face' that is the man on the woman.\n          The man can put his fingers in the anus of her and attract it towards his body with force taking it from the rumps.\n         ",
 	"Variant of medusa\n        If the man is equipped with flexibility and resistance, this position has a very attractive variant for the lovers of the balance during the sex.\n          Squatting, the man receives the prepared woman to be really ecstasy: their movements can imitate those of a hammock, going of back for ahead with the supported feet affluent in the floor.\n          Of another way, it can remain immovable and to leave her moves until the end.\n  " ,      
 	"Variant of the fusion\n      If the man relaxes and supports all his body and the woman gets up itself slightly, the fusion acquires a variant where the penetration is deeper.\n          The rate continues taking it she and the movement that leaves with more facility is arrives-down that the woman must make on her companion.\n          The hands of her can touch the chest of him or take penis as if masturbate to increase the pleasure of both.\n    "     ,
 	"Variant of the put under one\n      Another form to prove this position is that the woman extends her body backwards, supports her arms in those of her companion and extends its legs forwards.\n          This way, the man will be able to arrive at his chests with facility and the woman will be able to make circular movements.\n          The penis cannot penetrate so much in the vagina, which can extremely be exciting for both.\n         "
	  };
private Integer[] mThumbIds = {
		R.drawable.sex1facetoface, 
        R.drawable.sex2amazon,
        R.drawable.sex3arc,
        R.drawable.sex4kamasutra_armchair,
        R.drawable.sex5kamasutra_deep_one,
        R.drawable.sex6kamasutra_fusion,
        R.drawable.sex7kamasutra_hammock,
        R.drawable.sex8kamasutra_mill_vanes,
        R.drawable.sex9kamasutra_mirror_pleasing,
        R.drawable.sex10kamasutra_mold,
        R.drawable.sex11kamasutra_put_under_one,
        R.drawable.sex12kamasutra_screw,
        R.drawable.sex13kamasutra_surprise,
        R.drawable.sex14kamasutra_total_hug,
        R.drawable.sex15kamasutra_trapeze,
        R.drawable.sex16kamasutra_wheelbarrow,
        R.drawable.sex17kamasutra_facing_face,
        R.drawable.sex18kamasutra_medusa,
        R.drawable.sex19kamasutrafusion,
        R.drawable.sex20kamasutra_putunderone
};


}